package action;

import Annotation.*;
import service.UserService;

@ClassAnnotation("userAction")
@Scope(prototype="singleton")
public class UserAction {
    @Autowired("userServiceImpl")
    private UserService userService;

    @Initialization
    public void init(){
        System.out.println("正在初始化。。。");
    }
    public void getUser(){
        userService.getUser();
    }
    @Destroy
    public void dele(){
        System.out.println("正在销毁。。。");
    }
}
